GXDisposeStyle
You can use theGXDisposeStyle
function to release a reference to a style object.
void GXDisposeStyle(gxStyle target);
target
- A reference to the style object to dispose of.
DESCRIPTION
TheGXDisposeStyle
function decrements the owner count of the style specified by thetarget
parameter and releases any memory used by the style if the owner count goes to 0.ERRORS, WARNINGS, AND NOTICES
Errors style_is_nil SEE ALSO
Owner counts for style objects are discussed in the section "Copying, Comparing, and Cloning Style Objects" on page 3-8, and in the section "Manipulating a Style Object's Owner Count" beginning on page 3-11. To examine the owner count of a style, use theGXGetStyleOwners
function, described on page 3-22.